home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / python-gst0.10.postinst < prev    next >
Encoding:
Text File  |  2007-03-20  |  495 b   |  30 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. PYTHON_DEFAULT=$(pyversions --default)
  6.  
  7. this="python-gst0.10"
  8.  
  9. pc_files() {
  10.     runtime="$1"
  11.  
  12.     dpkg -L "$this" | sed -n -e "s#^/usr/lib/pkgconfig/$runtime/##p"
  13. }
  14.  
  15. if [ "$1" = "configure" ]; then
  16.     cd /usr/lib/pkgconfig
  17.  
  18.     for f in $(pc_files $PYTHON_DEFAULT); do
  19.         ln -f -s "$PYTHON_DEFAULT/$f"
  20.     done
  21. fi
  22.  
  23. # Automatically added by dh_pycentral
  24. if which pycentral >/dev/null 2>&1; then
  25.     pycentral pkginstall python-gst0.10
  26. fi
  27. # End automatically added section
  28.  
  29.  
  30.